package com.house.health.service;

import com.house.health.domain.Announcement;
import com.house.health.domain.House;
import com.house.health.domain.Page;

import java.util.List;

/**
 * @author DuanChangSuo
 * @date 2023/4/14 10:48
 * @description 类的描述和介绍
 **/
public interface IAnnouncementService {
    /**
     * 添加公告
     * @param anno
     * @return
     */
    public int addNewAnnouncement(Announcement anno);

    public List<Announcement> findAllAnnouncement();

    public Announcement findAnnouncementDetailById(int id);

    public int updateAnnouncement(Announcement announcement);

    /**
     * 管理员删除公告信息
     * @return
     */
    public int deleteAnnouncement(int aID);
}
